package indi.zhifa.study2025.oa.service.dep;

import indi.zhifa.study2025.oa.dao.mybatis.dep.mapperOut.PositionTagMapperOut;
import indi.zhifa.study2025.oa.dao.po.GenDepartmentEntity;
import indi.zhifa.study2025.oa.dao.po.GenPositionEntity;
import indi.zhifa.study2025.oa.dao.po.GenRelPositionTagEntity;

import java.util.List;

public interface IPositionService {

    GenPositionEntity check(Long pId);
    GenPositionEntity create(GenPositionEntity pGenPositionEntity, List<Long> pTagIds);
    List<GenRelPositionTagEntity> relTags(Long pPositionId, List<Long> pTagIds);
    GenPositionEntity edit(Long pId, Object pGenPositionEntityDto);
    GenPositionEntity checkById(Long id);
    GenPositionEntity delete(Long id);
    List<GenPositionEntity> list();
    List<PositionTagMapperOut> listByPositionId(Long pPositionId);
}
